package com.tx.admin.modules.rbac.entity;

import javax.persistence.Entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.tx.admin.core.entity.TreeEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Entity
@Data
@ApiModel("数据权限实体")

public class DataPermissionEntity extends TreeEntity<DataPermissionEntity> {

	//目标
	@ApiModelProperty("服务")
	@ExcelProperty(value = "服务")
	private String dataService;
	
	//数据操作
	@ApiModelProperty("函数")
	@ExcelProperty("函数")
	private String dataMethod;
	
	//数据范围
	@ApiModelProperty("范围")
	@ExcelProperty("范围")
	private String dataScope;
	
}
